package com.lbb.mall.product;

import com.lbb.mall.product.entity.BrandEntity;
import com.lbb.mall.product.service.BrandService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.lbb.mall.product.feign")
@EnableDiscoveryClient
//@MapperScan("com.lbb.mall.product.dao") 因为dao里面的每一个都加入了@Mapper注解，所以此注解不需要
@SpringBootApplication
public class MallProductApplication {

    public static void main(String[] args) {

        SpringApplication.run(MallProductApplication.class, args);
    }

}
